package com.shark.springbootcms.vo;

import com.shark.springbootcms.model.Role;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
@Data
@ApiModel
public class UserRoleVo {
    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别 1：男  2：女")
    private int sex;

    @ApiModelProperty(value = "状态 1：启用  0：禁用")
    private int status;

    @ApiModelProperty(value = "角色集合")
    private List<Role> roles;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
